home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
DELPHI32
/
GRIDS
/
MSTRGRID
/
MSTRLIST.TXT
< prev
Wrap
Text File
|
1996-06-17
|
3KB
|
70 lines
mstrlist;
Version 1.0, 10.6.1996, Freeware, Albrecht Mengel, mengel@stat-econ.uni-kiel.de
This is a sister of TStringList with some new sorting properties:
property KeyType:(soString,soStringCaseSensitive,soNumeric)
This is the kind, how the keys (and cells) are compared.
If you work with soNumeric, all non numbers get the same value 0.
As these zero values would flip in random order a (case insensitive) string sort
is performed after. So, first come the negatives, then the strings, and thereafter
the positives.
property KeyPos:Integer;
property KeyLen:Integer;
Here you may define, which substring of the cells is used to comparision.
(Default is KeyPos=1 & KeyLen=MaxInt)
property ScipFirst:Integer;
Here you can exclude some first entries from sorting.
(It is used by mStringGrid for excluding fixed rows/cols)
When you set sorting to true then the sorting is done with the new properties.
The default settings result in the same sorting as TStringList does.
TmStrList is a copy of TStringList found in \source\vcl\grids.pas with some additional
entries.
I had a problem with compiling TStringList.Changed and TStringList.Changing:
They call the property FUpdateCount which I could not reach:
procedure TmStrList.Changed;
begin
if {!(FUpdateCount = 0) and} Assigned(FOnChange) then FOnChange(Self);
end;
procedure TmStrList.Changing;
... the same ...
Is there anyone to fix that problem???
Software development:
Programming consumes time, and programmed components save time.
If you like my components feel free to send me some acknowledgment.
I accept post cards of your town, money or cheques (2$ up to 20$).
This is a motivation for me to continue developing for you.
If you have some ideas to improve mStrList, mStrGrid or any other component
send me a message.
The mStrList is copyright (C) 1996, by Albrecht Mengel. You may give copies to
others by copying the original, unmodified zip file. You may use this component
in your own projects free of charge as long as those projects are public domain,
freeware or shareware project.
The author of mStrList (A. Mengel) makes no warranty of any kind,
expressed or implied, including without limitation any warranties of merchantability
and/or fitness for a particular purpose. In no event will the author be liable to you
for any additional damages, including any lost profits, lost savings, or other
incidental or consequential damages arising from the use of, or inability to use,
this software and its accompanying documentation, even if the author has been advised
of the possibility of such damages.
Albrecht Mengel, University of Kiel, Germany
Institute for Statistics & Economics
Olshausenstrasse 40-60,
D-24098 Kiel
Tel. +49-431-880-2424
Fax. +49-431-880-2673
Email: mengel@stat-econ.uni-kiel.de
http://www.stat-econ.uni-kiel.de/pers/mengel.htm